﻿using System;
using Shanfree.SharpMovie.Model;
using System.Collections.Generic;
using Shanfree.Framework.Utility;
namespace Shanfree.SharpMovie.IDAL
{
    public interface INation : IDBPersistenceBase<NationInfo>
    {
        /// <summary>
        /// 获取实体列表
        /// </summary>
        /// <returns></returns>
        IList<NationInfo> GetList();
        /// <summary>
        /// 根据列表
        /// </summary>
        /// <param name="movieID">电影主键</param>
        /// <returns></returns>
        IList<NationInfo> GetListByMovieID(string movieID);
        /// <summary>
        /// 根据英文名称获取国家实体
        /// </summary>
        /// <param name="englishName">国家的英文名称</param>
        /// <returns></returns>
        NationInfo GetByValue(string englishName);
    }
}
